package com.ruoyi.crop.mapper;

import com.ruoyi.crop.api.domain.Farmer;
import com.ruoyi.crop.api.domain.MaterialLot;
import com.ruoyi.crop.api.domain.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 86178
* @description 针对表【src_product(产品表)】的数据库操作Mapper
* @createDate 2024-07-27 09:35:55
* @Entity com.ruoyi.crop.domain.Product
*/
public interface ProductMapper extends BaseMapper<Product> {

    List<Product> selectProductList(Product product);
    List<Product> selectDelFlagList(Product product);
    List<Farmer> selectFarmerList();
    List<MaterialLot> selectMaterialLotList();

    List<Integer> selectProductByGids(Integer productId);



    int removeDelFlagIds(List<Integer> productIds);

    int delProductById(List<Integer> productIds);
}




